package com.k.kpp.biz.datasource.service;

import com.k.kpp.biz.datasource.model.DataSourceSettingEntity;

import java.util.List;

/**
 * @author k
 */
public interface DataSourceSettingService {

    /**
     * add itm
     * @param itm itm
     * @return R
     */
    int add(DataSourceSettingEntity itm);

    /**
     * update itm
     * @param itm itm
     * @return R
     */
    int update(DataSourceSettingEntity itm);

    /**
     * delete itm
     * @param ids ids
     * @return R
     */
    int delete(String[] ids);

    /**
     * Query
     * @param itm itm
     * @return R
     */
    List<DataSourceSettingEntity> selectAll(DataSourceSettingEntity itm);
}
